<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>登录</title>

    <meta http-equiv="keywords" content="酒店,酒店预订"/>
    <meta http-equiv="description" content="九天是主要面向大学生提供酒店预订服务，价格低廉，品质优越"/>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<link href="http://www.ijiutian.com/css/my.css" rel="stylesheet"/>
<link href="http://www.ijiutian.com/css/jquery-ui-1.8.13.custom.css" rel="stylesheet"/>
<script type="text/javascript" src="http://www.ijiutian.com/js/jquery-1.6.1.min.js"></script>
<script type="text/javascript" src="http://www.ijiutian.com/js/jquery-ui-1.8.13.custom.min.js"></script>
<script type="text/javascript" src="http://www.ijiutian.com/js/jquery-ui-i18n.min.js"></script>
<script>
function checkInput(){
	var username=document.getElementById('a').value;
	var password=document.getElementById('b').value;
	if(username==null||username==''||password==null||password==''){
		alert('账号或者密码不能为空！');
		return;
	} else {
		document.userform.submit();
	}
}
</script>    
    
  </head>
  <body>
  <jsp:include page="/hotel/bar.jsp" />
  	<form name="userform" action="../login.do" method="post">
  	账号：<input id="a" type="text" name="a"/>
	密码：<input id="b" type="password" name="b"/>
  	<input type="button" value="登录" onclick="checkInput()"/>
  	</form>
  </body>
</html>